package org.jeecg.modules.arc.service;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.arc.entity.ArcAdjustedConfigs;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.arc.vo.ArcAdjustedConfigVO;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: 增减水量策略
 * @Author: jeecg-boot
 * @Date:   2022-02-10
 * @Version: V1.0
 */
public interface IArcAdjustedConfigsService extends IService<ArcAdjustedConfigs> {

    /**
     * 计算用户水表增减水量
     * @param cusId
     * @param amount
     * @return
     */
    BigDecimal measureAdjustAmount(String cusId,BigDecimal amount);

    /**
     * 查询水表增减水量策略
     * @param cusId
     * @return
     */
    ArcAdjustedConfigVO queryAdjustConfig(String cusId);

}
